package com.cx.mall.demo.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class UserReceiveAddress implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
    private long id;
    private long userId;//用户ID
    private String name;//收货人名称
    private String phoneNumber;//收货人电话
    @TableLogic
    private String defaultStatus;//是否为默认:1-默认,0-不默认
    private String postCode;//邮政编码
    private String province;//省份/直辖市
    private String city;//城市
    private String region;//区
    private String detailAddress;//详细地址(街道)
}
